import request from '@/plugin/axios'
import { sysPath } from '@api/sys.common'

export function findAllListByPage(params) {
    return request({
        url: sysPath + '/hx-mart/api/v1/sysImageFavorite/findAllListByPage',
        method: 'post',
        params
    })
}

export function saveImage(params) {
    return request({
        url: sysPath + '/hx-mart/api/v1/sysImageFavorite/saveImage',
        method: 'post',
        params
    })
}

export function deleteImage(params) {
    return request({
        url: sysPath + '/hx-mart/api/v1/sysImageFavorite/deleteImage',
        method: 'post',
        params
    })
}

export function useImage(params) {
    return request({
        url: sysPath + '/hx-mart/api/v1/sysImageFavorite/useImage',
        method: 'post',
        params
    })
}

